package com.service.bracelet.util;

/**
 * 系统常量
 */
public interface UtilConsts {

	/** 头部验证的token名称 */
	static final String SECURITY_HEADER = "token";

	static final String SECURITY_VERIFY_TOKEN = "verifyToken";

	static final String SECURITY_VERIFY_STATE = "verifyState";

	static final String SECURITY_USER = "user";

	static final String SECURITY_VERIFY_STATE_ANSWER = "answer";
	static final String SECURITY_VERIFY_STATE_NEWPASSWORD = "newPassword";

	static final String SECURITY_CLAIM_KEY_CREATED = "created";
	static final String SECURITY_CLAIM_KEY_USERID = "userId";
	static final String SECURITY_CLAIM_KEY_USERTYPE = "userType";
	static final String SECURITY_DEFAULT_PASSWORD = "123456";
	static final int SECURITY_ADMIN_USERTYPE = 1;
	static final String[] SECURITY_ALLOW_VERIFY_URLS = new String[] { "/bracelet/user/answerQuestion",
			"/bracelet/user/newPassword" };
	static final String[] SECURITY_ALLOW_ACCESS_URLS = new String[] { "/bracelet/user/login", "/bracelet/user/register",
			"/bracelet/user/verifyAccount" };

	static final int DEFALUT_PAGESIZE = 20;

	static final String PARAMS_PAGENUMBER = "pageNumber";
	static final String PARAMS_PAGESIZE = "pageSize";
	static final String PARAMS_TOTAL = "total";

	static final String PARAMS_LIST = "list";
	static final String PARAMS_OLDPASSWORD = "oldPassword";
	static final String PARAMS_PASSWORD = "password";
	static final String PARAMS_UPDATETIME = "updateTime";
	static final String PARAMS_ACCOUNT = "account";
	static final String PARAMS_USERTYPE = "userType";
	static final String PARAMS_USERID = "userId";

	static final String PARAMS_QUESTIONID = "questionId";
	static final String PARAMS_ANSWER = "answer";

	static final String RETURN_LUVALUE = "luValue";
	static final String RETURN_LUTIME = "luTime";
	static final String RETURN_LUID = "luId";

	static final String PARAMS_START = "start";
	static final String PARAMS_SIZE = "size";
	static final String PARAMS_STARTTIME = "startTime";

	static final String EXPORT_FILENAME = "流明数据";
	
	static final String EXPORT_FILENAME_AVG = "流明数据(平均值)";
	
	static final String[] EXOPRT_COLUMNNAMES_SVG = new String[] { "日期", "账号", "姓名", "性别", "出生日期", "班级", "学校" };

	static final String[] EXOPRT_COLUMNNAMES = new String[] { "日期", "账号", "姓名", "性别", "出生日期", "班级", "学校", "无效数据", "小于10", "10-100", "100-500", "500-1000",
			"1000-3000", "3000-5000", "5000-10000", "大于10000" };

	static final int STR_COLUMN = 7;
}
